<?php


class SvcWeb extends SvcCommun {

    
    private static $retour='';


    public static function verifier(){
        if(isset($_POST['method'])){
            $method=$_POST['method'];
            self::$retour=Web::$method($_POST);
        }
    }


    public static function construire(){
        Template::setRenderer('SvcWeb');
    }
    
    
	public static function render(){
        ob_get_contents();
		ob_end_clean();
        
        echo(json_encode(self::$retour));
    }

    
}


?>